package cn.ssq.dao;

import cn.ssq.domain.AddressTown;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AddressTownMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AddressTown record);

    int insertSelective(AddressTown record);

    AddressTown selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AddressTown record);

    int updateByPrimaryKey(AddressTown record);
    List <AddressTown> selectTown();
    String selectAddressTownBycode(String code);

}